home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Conversion / Convert_PICT / Testing / hex_tests / pat=set3=bitmap2.hex < prev    next >
Text File  |  1992-12-05  |  3KB  |  85 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 0011 02FF                        % verson
  6. 0001 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  7. 0030 0000 0000 00FF 00FF        % draw bounding rect
  8.  
  9. %
  10. %    Patterns
  11. %
  12. % PnPix Background pattern
  13. 0012
  14. 0001                % Type
  15. 0102 0408 1020 4080    % pattern
  16.  
  17. 8004                % rowbytes
  18. 0000 0000 0010 0020    % bounds (tlbr)
  19. 0000                % pixmap version
  20. 0000                % packing format
  21. 0000 0000            % Packed size (= 0 by IM V p. 104)
  22. 0048 0000 0048 0000    % horozontal resolution and vertical resolution (fixed pt. data type)
  23. 0000                % pixel type ( 0 == chunky format)
  24. 0001                % bits per pixel
  25. 0001                % num components in pixel
  26. 0001                % Size of each component
  27. 00000000            % Offset to next plane
  28. 00000000            % color table
  29. 00000000            % reserved
  30. % color table!
  31. 00000000
  32. 0000 0001
  33. 0000 FFFF FFFF FFFF
  34. 0001 0000 0000 0000
  35.  
  36. 00 7F 00 00    % bit data (unpacked)
  37. 03 80 E0 00
  38. 06 00 30 00
  39. 08 00 08 00
  40. 10 00 04 00
  41. 20 00 02 00
  42. 60 00 03 00
  43. 40 00 01 00
  44. 40 00 81 00
  45. 80 03 80 80
  46. 83 00 00 80
  47. 80 00 00 80
  48. 80 00 00 80
  49. 80 00 30 80
  50. 80 00 20 80
  51. 40 00 21 00
  52.  
  53.  
  54. % PnPix Pen pattern
  55. 0013
  56. 0002                % Type
  57. 0102 0408 1020 4080    % pattern
  58. 0000 8080 0000        % half green
  59.  
  60. % PnPix Fill pattern
  61. 0014
  62. 0002                % Type
  63. 0102 0408 1020 4080    % pattern
  64. FFFF 0000 8888        % Red with a middling of blue (purpleish?)
  65.  
  66. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  67. %
  68. %    This test seeks to demonstrate that lines and text deal as they
  69. %    should with type 2 pixpat patterns.  It also has room for other additions.
  70. %
  71. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  72.  
  73. % Draw a normal line
  74. 0020 0010 0010  0020 00F0  
  75.  
  76. % set a thick pen size
  77. 0007 0010 0008
  78.  
  79. % Draw a thick line
  80. 0020 0020 0010 0030 00F0
  81.  
  82. 0028 0070 0010 (This is a simple line of text DOES IT GET PATTERNS?)
  83.  
  84. 00FF    % end
  85.